cd "E:\Source\ASPNET MVC\MvcAjaxControls\Source\Main\MvcAjaxControls"
$release = '0.9.0.1-beta'
$releaseDir = "E:\Source\ASPNET MVC\MvcAjaxControls\Source\Releases"
#Test that release directory exists
#If exists, prompt to replace it or quit
#Else create it
#mkdir $releaseDir\$release
# Copy the DLL and PDB files
mkdir $releaseDir\$release\bin
cp "Helpers\bin\Debug\SeagullConsulting.MvcAjaxControls.Web.Mvc.Helpers.dll" $releaseDir\$release\bin
cp "Helpers\bin\Debug\SeagullConsulting.MvcAjaxControls.Web.Mvc.Helpers.pdb" $releaseDir\$release\bin
# Copy the Javascript files
mkdir $releaseDir\$release\scripts
cp "MvcAjaxControls\Scripts\MvcAjaxControls.js" $releaseDir\$release\scripts
cp "MvcAjaxControls\Scripts\date.format.js" $releaseDir\$release\scripts
# Copy the CSS
mkdir $releaseDir\$release\Content
cp "MvcAjaxControls\Content\MvcAjaxControls.css" $releaseDir\$release\Content
# Copy the Images
mkdir $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Ajax-loader.gif" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\BlueLabelGradient.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Button.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Delete.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Details.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Edit.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Filter.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\First-page.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Prev-page.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Next-page.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Last-page.png" $releaseDir\$release\Content\images
cp "MvcAjaxControls\Content\images\Refresh.png" $releaseDir\$release\Content\images
# Zip release files

#return to original directory
cd "E:\Source\ASPNET MV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